package day4_thread_safe.use_sync;
/**
 * 通过反射获取Class对象
 */
public class AboutClassObject {
    public static void main(String[] args) {
        Class<AboutClassObject> c = AboutClassObject.class;
        Class c1 = AboutClassObject.class;

        AboutClassObject o = new AboutClassObject();
        Class c2 = o.getClass();

        System.out.println(c == c1);
        System.out.println(c == c2);
        System.out.println(c1 == c2);
    }
}
